home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / gen_bbs / inf120x.zip / REF.DOC < prev    next >
Text File  |  1996-11-02  |  70KB  |  1,922 lines

  1.  
  2.  
  3.       ______              ___________________              ______
  4.       >     |____________| InfoMail/386 1.20 |____________|     <
  5.       ~~||~~|  Centurion |~~~~~~~~~~~~~~~~~~~| 2:2502/666 |~~||~~
  6.         ||   ~~~~~~~~~~~~                     ~~~~~~~~~~~~   ||
  7.         ||                                                   ||
  8.         ||                                                   ||
  9.         ||                                                   ||
  10.         ||                     CENTURION                     ||
  11.         ||                                                   ||
  12.         ||                                                   ||
  13.         ||                        -*-                        ||
  14.         ||                                                   ||
  15.         ||                                                   ||
  16.         ||                 InfoMail/386 1.20                 ||
  17.         ||                                                   ||
  18.         ||       A Document Server for Fidonet Systems       ||
  19.         ||                                                   ||
  20.         ||          Copyright (C) Damian Walker 1996         ||
  21.         ||                                                   ||
  22.         ||                                                   ||
  23.         ||                        -*-                        ||
  24.         ||                                                   ||
  25.         ||                                                   ||
  26.         ||                  REFERENCE GUIDE                  ||
  27.         ||                                                   ||
  28.         ||                                                   ||
  29.         ||                        _____                      ||
  30.         ||                       (____()                     ||
  31.         ||                        /   /                      ||
  32.         ||                       /   /                       ||
  33.         ||                      (____()                      ||
  34.         ||                      _______                      ||
  35.         ||                     (_)|||(_)                     ||
  36.         ||                       |||||                       ||
  37.         ||                       |||||                       ||
  38.         ||                       |||||                       ||
  39.         ||                       |||||                       ||
  40.         ||                       |||||                       ||
  41.         ||                       |||||                       ||
  42.         ||                       |||||                       ||
  43.         ||                      /~~~~~\                      ||
  44.         ||                      ~~~~~~~                      ||
  45.         ||                                                   ||
  46.         ||                                                   ||
  47.         ||                                                   ||
  48.         ||                                                   ||
  49.         ||   ____________                     ____________   ||
  50.       __||__|  Copyright |___________________|    1996    |__||__
  51.       >     |~~~~~~~~~~~~| (C) Damian Walker |~~~~~~~~~~~~|     <
  52.       ~~~~~~              ~~~~~~~~~~~~~~~~~~~              ~~~~~~
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. InfoMail/386 1.20 Reference Guide
  62.  
  63. 1.      INTRODUCTION
  64.  
  65.         This manual is the Reference Guide to InfoMail/386 1.20.  It
  66.         contains information about the InfoMail command line, the
  67.         individual program components, the fields in the configuration
  68.         and document records, a list of macros, and some other
  69.         information about the program in reference form.
  70.  
  71.         First time users are recommended to at least scan through the
  72.         user guide, which gives step-by-step instructions on how to set
  73.         up the program, and also contains some how-to sections on
  74.         setting up the more advanced features of the program to deal
  75.         with certain common tasks.
  76.  
  77.         Also included in the user guide are introductory information
  78.         such as the program's purpose, the system requirements, the
  79.         disclaimer, acknowledgements and the version history.
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Introduction                                                        R- 2
  121. InfoMail/386 1.20 Reference Guide
  122.  
  123. 2.      THE COMMAND LINE
  124.  
  125.         The InfoMail command line usage is as follows:
  126.  
  127.                 INFOMAIL [<command>] [<switches>]
  128.  
  129.         where <command> is one of the following:
  130.  
  131.                 SCAN    -       Netmail Scan
  132.                 CONFIG  -       Configuration Editor
  133.                 LIST    -       Document List Editor
  134.                 UPGRADE -       Upgrade Utility
  135.  
  136.         and <switches>, if present, is one or both of the following:
  137.  
  138.                 -PATH <path>    Path to InfoMail files
  139.                 -MONO           For monochrome users
  140.  
  141.         If no command is supplied, InfoMail displays a brief help screen
  142.         which looks similar to this section of the manual.
  143.  
  144. 2.1.    The CONFIG command
  145.  
  146.         This loads the full-screen configuration editor.  The
  147.         configuration editor allows you set up InfoMail's main
  148.         configuration parameters (i.e. those not tied to any particular
  149.         document).  The altered configuration is saved on exit.
  150.  
  151. 2.2.    The LIST command
  152.  
  153.         This loads the full-screen document list editor.  The document
  154.         list editor allows you to add, edit and delete records
  155.         describing the individual documents hosted at the system.  It
  156.         also packs the file (permanently removing deleted records) on
  157.         exit.
  158.  
  159. 2.3.    The -MONO switch
  160.  
  161.         This is a switch recommended for users of monochrome monitors
  162.         (like the author).  Although InfoMail's usual colour scheme is
  163.         quite visible on a CGA/EGA/VGA monochrome monitor, it could be
  164.         better.  On Hercules/MDA screens the light blue borders are
  165.         displayed with the underline attribute, creating an unattractive
  166.         striped display when using the full-screen editors.
  167.  
  168.         The -MONO switch forces InfoMail to use black, grey and white
  169.         colours exclusively, in any part of the program: CONFIG, LIST,
  170.         SCAN, UPGRADE or the help screen.  You can also use it if you
  171.         really don't like the author's use of colours.
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180. The Command Line                                                    R- 3
  181. InfoMail/386 1.20 Reference Guide
  182.  
  183. 2.4.    The -PATH switch
  184.  
  185.         By default, InfoMail will search for its files in the current
  186.         directory.  If an INFOMAIL environment variable exists, it will
  187.         be used to find the files instead (see section 9.2).  If the
  188.         -PATH switch is present, the parameter following it will be
  189.         taken as the path to InfoMail's files, and will override the
  190.         INFOMAIL environment variable if it exists.
  191.  
  192.         The parameter after -PATH may be in upper or lower case, and it
  193.         may contain DOS-style backslashes (\) or Unix-style forward
  194.         slashes (/), or both, if strange-looking filenames take your
  195.         fancy.  You can add a trailing backslash if you like; InfoMail
  196.         will add one internally if you don't.
  197.  
  198.         Use the -PATH switch in conjunction with one of the commands:
  199.         CONFIG, LIST, SCAN or UPGRADE.  When loading the configuration
  200.         editor for the first time, any path supplied will be taken as
  201.         the directory for the log file to reside in.
  202.  
  203. 2.5.    The SCAN command
  204.  
  205.         This command runs the netmail scan, reading the netmail
  206.         directory for incoming netmails addressed to InfoMail and
  207.         posting response messages based on them.  This is the main part
  208.         of InfoMail, and requires that the program is fully configured
  209.         before use.
  210.  
  211. 2.6.    The UPGRADE command
  212.  
  213.         This is the upgrade utility, which takes the configuration and
  214.         document list files of earlier versions of InfoMail and converts
  215.         them to a format readable by InfoMail/386 1.20.  A backup is
  216.         recommended before attempting this operation.
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240. The Command Line                                                    R- 4
  241. InfoMail/386 1.20 Reference Guide
  242.  
  243. 3.      THE KEYBOARD
  244.  
  245.         This section gives full details of all the keys used throughout
  246.         the full-screen components of the InfoMail program.  The keys
  247.         are mainly self-explanatory, and are displayed at the bottom of
  248.         each screen, but this section has been included for completeness
  249.         and for reference in the event of ambiguity.
  250.  
  251. 3.1.    Editing Text Fields
  252.  
  253.         The following keys are available while editing text fields in
  254.         all parts of the InfoMail program.
  255.  
  256.                 Left    Move cursor left
  257.                 Right   Move cursor right
  258.                 Home    Move cursor to start of line
  259.                 End     Move cursor to end of line
  260.                 Del     Delete character to right of cursor
  261.                 Backsp  Delete character to left of cursor
  262.                 Enter   Accept new field value
  263.                 Esc     Reject new field value (revert to old value)
  264.  
  265. 3.2.    The Configuration Editor
  266.  
  267.         The following two sections deal with the keys available in the
  268.         various parts of the configuration editor.
  269.  
  270. 3.2.1.  Editing the Configuration Record
  271.  
  272.         The following keys are available when editing the configuration
  273.         record, i.e. when the configuration record is displayed and one
  274.         of the field labels is highlighted.
  275.  
  276.                 Up      Up one field, or
  277.                         move to 'AKA List' when on 'Netmail'
  278.                 Down    Down one field, or
  279.                         move to 'Netmail' when on 'AKA List'
  280.                 Enter   Edit text/numeric field, or
  281.                         toggle Yes/No field, or
  282.                         edit AKA list if on AKA List field
  283.                 Esc     Exit and save
  284.  
  285. 3.2.2.  Editing the AKA List
  286.  
  287.         After pressing ENTER when the AKA List label is highlighted, a
  288.         submenu appears at the bottom of the screen.  The following keys
  289.         are available at this time.
  290.  
  291.                 Ins     Add another AKA to the list
  292.                 Del     Remove an AKA from the list
  293.                 Enter/
  294.                 Esc     Accept the AKA list
  295.  
  296.  
  297.  
  298.  
  299.  
  300. The Keyboard                                                        R- 5
  301. InfoMail/386 1.20 Reference Guide
  302.  
  303.         After pressing INS or DEL, a valid Fidonet address must be
  304.         entered.  This means that when deleting, an existing address
  305.         must be specified by typing it in manually.  There is no menu
  306.         bar or other selection mechanism.
  307.  
  308. 3.3.    The Document List Editor
  309.  
  310.         The following sections deal with the keys available while in the
  311.         document list editor.
  312.  
  313. 3.3.1.  Browsing the Document List
  314.  
  315.         Upon first loading the document list editor, the document list
  316.         will be displayed.  This centres upon a window in which a number
  317.         of documents are displayed, one record to a line, and one of the
  318.         records will be highlighted.  The keys at this point are as
  319.         follows:
  320.  
  321.                 Up      Move up one document
  322.                 Down    Move down one document
  323.                 Ins     Add a new document
  324.                 Del     Toggle delete (X) status of current document
  325.                 Enter   Edit an existing document, or
  326.                         add a new document if blank record highlighted
  327.                 Esc     Exit and remove records marked as deleted
  328.  
  329. 3.3.2.  Editing a Document Record
  330.  
  331.         The keys differ slightly when editing or adding a new document.
  332.         When adding a new document, InfoMail will display a completely
  333.         blank document record (even the Yes/No fields will be blank) and
  334.         ask for a document name.  Apart from the normal text editing
  335.         keys described in section 3.1, the following keys are available:
  336.  
  337.                 Enter   Accept name and edit other fields
  338.                 Esc     Abandon document and continue browsing
  339.  
  340.         After accepting a document name or when editing an existing
  341.         record, the full document record will be displayed and one of
  342.         the field labels will be highlighted.  At this point, your keys
  343.         are as follows:
  344.  
  345.                 Up      Up one field, or
  346.                         move to 'Accesses' when on 'Document'
  347.                 Down    Down one field, or
  348.                         move to 'Document' when on 'Accesses'
  349.                 Enter   Edit text field, or
  350.                         toggle Yes/No field, or
  351.                         toggle Routing between Standard and Smart, or
  352.                         reset Accesses field to 0, or
  353.                         edit Status field
  354.                 Esc     Exit to document list and save changes
  355.  
  356.         Note that the 'Document' field cannot be changed, it is constant
  357.         once the document name has been initially accepted.
  358.  
  359.  
  360. The Keyboard                                                        R- 6
  361. InfoMail/386 1.20 Reference Guide
  362.  
  363. 3.3.3.  Editing the Message Status
  364.  
  365.         When you select the 'Status' field, its contents should be
  366.         highlighted as if it was a text field, but the available keys
  367.         are rather different:
  368.  
  369.                 C       Toggle crash attribute
  370.                 F       Toggle file attribute
  371.                 H       Toggle hold attribute
  372.                 K       Toggle kill attribute
  373.                 R       Toggle freq attribute
  374.                 U       Toggle update attribute
  375.                 Enter   Accept new status
  376.                 Esc     Reject new status, revert to old status
  377.  
  378.         Crash and Hold are mutually exclusive, so when you switch one
  379.         on, the other switches off.  When switching one off, the other
  380.         does not automatically re-appear though.  A three-way version of
  381.         this relationship exists between File, FReq and Update; when
  382.         switching one on the others disappear.  Switching one off does
  383.         not make either of the others appear.  The presence or absence
  384.         of Kill does not affect the other attributes.
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420. The Keyboard                                                        R- 7
  421. InfoMail/386 1.20 Reference Guide
  422.  
  423. 4.      CONFIGURATION FIELDS
  424.  
  425.         This section describes in detail the purpose of each of the
  426.         fields in the configuration record, as edited by the
  427.         configuration editor.
  428.  
  429. 4.1.    Netmail
  430.  
  431.         This is the directory in which your netmail *.MSGs are stored.
  432.         It should have a trailing backslash, although InfoMail will add
  433.         one for you if you don't put it in yourself.  The directory name
  434.         will also convert Unix slashes (/) to DOS backslashes (\), and
  435.         convert the directory name to upper case.
  436.  
  437. 4.2.    Log File
  438.  
  439.         This is the full path and filename to your log file.  You can
  440.         enter the filename in upper or lower case, and with DOS or Unix
  441.         slashes, although InfoMail will convert the name to the normal
  442.         DOS standard once you have accepted it.
  443.  
  444.         This field is mandatory.  If InfoMail cannot open its log file,
  445.         then the netmail scan will refuse to run.
  446.  
  447. 4.3.    Active
  448.  
  449.         This is the Active flag, indicating whether the netmail scan
  450.         should run.  If set to Yes, InfoMail will function normally.  If
  451.         set to No, InfoMail will refuse to run a netmail scan, although
  452.         the other parts of the program will function normally.
  453.  
  454.         This should be used to temporarily inactivate InfoMail (for
  455.         maintenance, setup changes or diagnostics) without having to
  456.         remove calls to INFOMAIL SCAN from your mailer batch files.
  457.  
  458. 4.4.    Max Message Size
  459.  
  460.         This governs the maximum size of an outgoing InfoMail document
  461.         message, before addressing information such as TOPT, FMPT and
  462.         INTL are added (so leave about 64 bytes for these).  If a
  463.         document file creates messages above this size, the document
  464.         will be posted in a number of smaller messages.
  465.  
  466.         The maximum value for this field is 65535.  The minimum value is
  467.         1, but setting the maximum message size this low would be rather
  468.         stupid.
  469.  
  470. 4.5.    Kill Outbound Errors
  471.  
  472.         When set to yes, document lists, file not found errors, document
  473.         inactive messages, update accepted/reject messages and search
  474.         results will all have the Kill flag added to them.  When set to
  475.         no, such messages will remain on your system to be dealt with by
  476.         you manually, or by another program.
  477.  
  478.  
  479.  
  480. Configuration Fields                                                R- 8
  481. InfoMail/386 1.20 Reference Guide
  482.  
  483. 4.6.    Requests
  484.  
  485.         This is the name to which users should post document requests,
  486.         and it is recommended that you leave this as 'InfoMail' to
  487.         standardise the use of the program.  Most existing installations
  488.         of the program use this convention.
  489.  
  490.         Case is unimportant in this field; users may post to 'InfoMail',
  491.         'INFOMAIL' or 'infomail' and the program will treat the message
  492.         as a document request.
  493.  
  494. 4.7.    Updates
  495.  
  496.         This is the name to which users should send remote updates to
  497.         documents.  It is recommended that you leave this as 'InfoMail
  498.         Update' in order to standardise the use of the program.  The
  499.         existing systems which allow remote update and use the name
  500.         'InfoMail' for requests follow this convention (they have little
  501.         choice, since earlier versions of the program just added the
  502.         word 'Update' to the request name to ascertain the update name).
  503.  
  504. 4.8.    Searches
  505.  
  506.         This is the name to which users should send document search
  507.         messages.  It is recommended that you leave this as 'InfoMail
  508.         Search' in order to standardise the use of the program.  It
  509.         cannot, however, be claimed that most existing systems follow
  510.         this convention because the document search is a new feature to
  511.         InfoMail/386 1.20.
  512.  
  513. 4.9.    Kill Inbound Requests/Updates/Searches
  514.  
  515.         These fields signify whether the relevant type of inbound
  516.         message will be deleted after processing (if Kill Inbound is set
  517.         to 'Yes') or merely marked as 'received' for you or your mail
  518.         processing software to deal with (if set to 'No').
  519.  
  520. 4.10.   Header and Footer
  521.  
  522.         These fields determine the filenames of the global header and
  523.         footer.  The header and footer are added to the top and bottom
  524.         of each outbound message, i.e. documents and non-document
  525.         response messages.
  526.  
  527.         Each field should contain the full DOS path and filename of the
  528.         relevant file.  If the header field is left blank, then there
  529.         will be no header added to outbound messages; a similar rule
  530.         follows for the footer field.
  531.  
  532. 4.11.   Doc List
  533.  
  534.         This is the text file posted each time a user requests a
  535.         document which does not exist, and should be the full DOS path
  536.         and filename of a text file.  If it is not specified, a
  537.         standardised document list is posted to the user.
  538.  
  539.  
  540. Configuration Fields                                                R- 9
  541. InfoMail/386 1.20 Reference Guide
  542.  
  543. 4.12.   File Err
  544.  
  545.         This is the text file posted to a user when the text file of the
  546.         document they have requested is missing.  This will most often
  547.         happen with documents updated by remote users, if someone
  548.         requests the document before the first update message has been
  549.         sent.  The field should contain the full path and filename of
  550.         the text file.  If left blank, a standardised message will be
  551.         posted to the user.
  552.  
  553. 4.13.   Inactive
  554.  
  555.         This is the path and filename of the text file posted to a user
  556.         when the document they have requested is marked as inactive.  If
  557.         it is not specified, a standardised message will be sent in its
  558.         stead.
  559.  
  560. 4.14.   Accept
  561.  
  562.         This is the path and filename of the text file sent to a user on
  563.         successful updating of a remotely-updateable document.  A
  564.         standardised message will be posted to the user if this field is
  565.         not specified.
  566.  
  567. 4.15.   Reject
  568.  
  569.         This is the path and filename of the text file sent to a user
  570.         when they attempt to request or update a document without
  571.         specifying the correct password.  It is also sent if a user
  572.         specifies a password when requesting a document which is not
  573.         passworded, or if the user tries to update a document which does
  574.         not have an update password.  If this field is left blank, a
  575.         standardised message will be posted to the user.
  576.  
  577. 4.16.   Results
  578.  
  579.         This is the path and filename of a document search result
  580.         template file, sent to the user when a document search is
  581.         received.  If it is not specified, a standardised search results
  582.         message is posted to the user.
  583.  
  584. 4.17.   AKA List
  585.  
  586.         This field contains one or more Fidonet addresses, and defines
  587.         the AKA's which the system answers to; i.e. your Fidonet
  588.         addresses.  This field is effectively mandatory, as if you don't
  589.         define any addresses then InfoMail will not respond to any
  590.         messages.
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600. Configuration Fields                                                R-10
  601. InfoMail/386 1.20 Reference Guide
  602.  
  603. 5.      DOCUMENT RECORD FIELDS
  604.  
  605.         This section describes the fields of the document record,
  606.         visible when you edit a document in the document list editor.
  607.  
  608. 5.1.    Document
  609.  
  610.         This is the document name, or tag.  It is the name which a user
  611.         must place on the subject line when requesting the document.
  612.         Although it is case insensitive, the case is preserved by
  613.         InfoMail for output in document lists.
  614.  
  615.         The name cannot contain spaces.  Spaces are converted to
  616.         underline characters (_) by the upgrade program and the document
  617.         list editor, for your convenience.  Users requesting a document
  618.         must type any underline in the name explicitly on the subject
  619.         line of their message, since a space in the subject line
  620.         separates a document name from a password.
  621.  
  622.         Note that the only time you can edit a document name is when
  623.         adding a new document; InfoMail will ignore you if you try to
  624.         select this field on an existing record.  Make sure you get the
  625.         case right before pressing ENTER to accept the document name!
  626.  
  627. 5.2.    Active
  628.  
  629.         This field serves a similar purpose to the field of the same
  630.         name in the configuration record; it defines a document as
  631.         inactive.
  632.  
  633.         If a user requests a document with the 'Active' flag set to
  634.         'No', InfoMail will post a polite refusal instead of the
  635.         document text file.  An inactive document can be updated
  636.         remotely, however. When this field is set to 'Yes', the document
  637.         behaves normally.
  638.  
  639. 5.3.    Listed
  640.  
  641.         This field defines whether a document will appear in a document
  642.         list or not, including a list of matching documents in a
  643.         document search result.  Only if Listed is set to 'Yes' will a
  644.         document appear in such a list, otherwise it will remain hidden.
  645.  
  646. 5.4.    Macros
  647.  
  648.         This field defines whether macros in the document text file will
  649.         be expanded or not.  If set to 'No', left brace characters ('{')
  650.         will be treated as any other character, and will remain in the
  651.         outgoing document message.  If set to 'Yes', InfoMail will
  652.         interpret a left brace as the start of a macro sequence, and
  653.         attempt to expand it.
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660. Document Record Fields                                              R-11
  661. InfoMail/386 1.20 Reference Guide
  662.  
  663.         Usually this field should be left at 'Yes'.  However, sometimes
  664.         you may want to post as a document a file which has been
  665.         generated by a third-party program, and such a file may contain
  666.         brace characters as part of its normal text.  In this instance
  667.         you should set Macros to 'No' in order to avoid confusion.
  668.  
  669. 5.5.    Routing
  670.  
  671.         This field is currently unused, although you can toggle its
  672.         value from Standard to Smart.  It is there to interface with a
  673.         possible future project which will implement routing of InfoMail
  674.         documents in a more intelligent way than the simple 'Status'
  675.         field or your mailer's routing facilities.
  676.  
  677. 5.6.    Subject
  678.  
  679.         This is the subject line for outgoing messages containing the
  680.         text of this document.  It is normally a more descriptive
  681.         version of the document tag, although documents which have File
  682.         Attach, File Request or Update Request status should use the
  683.         subject line for filenames as per the normal Fidonet standard.
  684.  
  685. 5.7.    Status
  686.  
  687.         This field contains some of the attributes for outgoing messages
  688.         containing the text of this document.  The attributes which
  689.         InfoMail supports are Crash, Hold, Update, File, FReq and Kill,
  690.         although Pvt and Local are stamped on all outgoing messages as
  691.         well.
  692.  
  693.         The Kill flag is relevant to both the primary and secondary
  694.         document messages, but the other attributes apply only to the
  695.         primary document file.  The secondary document message is always
  696.         sent routed regardless of the Status field.
  697.  
  698. 5.8.    Request
  699.  
  700.         This is the request password.  If there is no request password
  701.         for a document, then the user must request the document without
  702.         a password on the subject line.  If a request password is
  703.         present, it must be added after the document tag on the subject
  704.         line, separated from it by a single space.  Password comparisons
  705.         are case insensitive.
  706.  
  707. 5.9.    Update
  708.  
  709.         This is the remote update password.  If there is no remote
  710.         update password set for a document, then that document cannot be
  711.         updated remotely.  If a remote update password is present, then
  712.         it must be included on the subject line, after the document
  713.         name, in any remote update for the document.
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720. Document Record Fields                                              R-12
  721. InfoMail/386 1.20 Reference Guide
  722.  
  723. 5.10.   File
  724.  
  725.         This is the full path and filename of the primary text file for
  726.         this document.  For normal documents this is the only text file.
  727.         On file attaches the text file is usually a covering note for
  728.         the file which is attached with the message.  This field is
  729.         mandatory; without it, InfoMail will post a 'file missing'
  730.         message to the user.
  731.  
  732. 5.11.   2nd File
  733.  
  734.         This is the full path and filename of the secondary text file
  735.         for this document.  Normally it is unused.  However, when a
  736.         document is set up as a held file attach, it is desirable to
  737.         send a second message, routed, to inform the user that a file
  738.         attach is waiting.  Thus the only message attribute which
  739.         secondary messages carry from the Status field is 'Kill'.
  740.  
  741. 5.12.   Accesses
  742.  
  743.         This is the document access counter.  It cannot be directly
  744.         edited, but selecting this field in the document list editor
  745.         causes it to reset to zero.  Aside from its novelty value as an
  746.         in-document macro and its limited informational value, it is
  747.         quite useless.
  748.  
  749.         The option to reset it has been provided in the event that you
  750.         have requested it when testing your configuration, and want to
  751.         reset the counter when you are happy that the document is
  752.         correctly set up.
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780. Document Record Fields                                              R-13
  781. InfoMail/386 1.20 Reference Guide
  782.  
  783. 6.      DOCUMENT MACROS
  784.  
  785.         InfoMail provides macros which can be embedded in document text
  786.         files.  These are expanded to provide some meaningful piece of
  787.         information each time a message is posted.  Such information may
  788.         vary from one message to another, which is why it wouldn't be
  789.         included verbatim.
  790.  
  791.         Macros are a letter and an integer included in braces ('{' and
  792.         '}'), in any order.  The integer stands for the minimum length
  793.         of the expanded macro, and its range differs for each individual
  794.         macro.  You could specify the macro {D16} as {16D} or even {1D6}
  795.         if it amuses you, and each would expand to a 16-character
  796.         document name.
  797.  
  798.         This section provides a list of macros supported by InfoMail,
  799.         and explains how to use each one.
  800.  
  801. 6.1.    {A} - InfoMail's Address
  802.  
  803.         This macro expands into the current AKA which InfoMail is
  804.         operating under.  If InfoMail is responding to a message
  805.         addressed to 2:2502/666, then the {A} will expand to 2:2502/666
  806.         in the outgoing message.
  807.  
  808.         The maximum length of a Fidonet address is 23 characters (up to
  809.         4 integers of 5 digits, with a :, / and .), so {A24} and above
  810.         create a 23-character address.
  811.  
  812. 6.2.    {C} - Access Counter
  813.  
  814.         When embedded in a document, in an error related to a specific
  815.         document, or in a header or footer being added to a such a
  816.         message, this is the 'Accesses' field from the document list
  817.         record.  It is increased before being included in the message,
  818.         so the first time a document is requested it will be '1'.
  819.  
  820.         When embedded in a search results template, or in a header or
  821.         footer added to search results, the {C} expands into the number
  822.         of documents matching the search criteria.
  823.  
  824.         When embedded in a document list (as posted when the user
  825.         requests a non-existent document) the {C} expands to 0.
  826.  
  827.         The maximum length for the expanded macro is 5 characters.  This
  828.         is the only macro in which fixed-length expansion is
  829.         right-justified, i.e. '{C5}' would expand as '   23' if the
  830.         document had been accessed 23 times.
  831.  
  832. 6.3.    {D} - Document Name
  833.  
  834.         This is the document 'tag'.  When embedded in a document or a
  835.         response associated with a specific document (or a header/footer
  836.         attached to such a message), this will expand to the tag of the
  837.         relevant document.
  838.  
  839.  
  840. Document Macros                                                     R-14
  841. InfoMail/386 1.20 Reference Guide
  842.  
  843.         When embedded in a document search template, or a header/footer
  844.         attached to such a message, this will expand into the search
  845.         criteria entered by the user on the subject line of the inbound
  846.         message.
  847.  
  848.         When embedded in a document list, this macro will be expanded
  849.         into an empty string. The maximum length of the {D} macro is 16
  850.         characters.
  851.  
  852. 6.4.    {F} - User's First Name
  853.  
  854.         This expands into the first name of the user, as extracted from
  855.         the 'From' field of the inbound message.  Thus in response to a
  856.         message from 'Damian Walker', the {F} macro would expand as
  857.         'Damian'.  The maximum length of this macro is 35 characters.
  858.  
  859. 6.5.    {I} - InfoMail Request Name
  860.  
  861.         This is the request name as set up in the configuration editor.
  862.         It can be embedded in instructions on how to request other
  863.         documents, or in a welcoming sentence such as 'thank you for
  864.         writing to {I}'.  The maximum length is 35 characters.
  865.  
  866. 6.6.    {L} - User's Last Name
  867.  
  868.         This expands into the user's last name, as extracted from the
  869.         incoming message.  Thus in a response to a message from 'Damian
  870.         Walker', {L} would expand into 'Walker', and in a response to
  871.         'NetMgr 0.99' {L} would be '0.99'.  Be careful of adding {F} and
  872.         {L} together to create the user's full name; some users include
  873.         their middle name or initial, and some users include suffixes
  874.         such as 'Jr' or 'III' to their names.  The {L} macro isn't as
  875.         useful as it seems at first.  Maximum length is 35 characters.
  876.  
  877. 6.7.    {N} - User's Full Name
  878.  
  879.         This expands into the full name of the user to whom the response
  880.         is being posted, exactly as extracted from the 'From' field of
  881.         the inbound message.  The maximum length is 35 characters.
  882.  
  883. 6.8.    {O} - Operating System Filename of Document
  884.  
  885.         When embedded in a document, a document-related error or a
  886.         header/footer attached to such a message, {O} returns the full
  887.         filename of the document being requested.  On other messages,
  888.         {O} expands to a blank string.  Maximum length is 64 characters.
  889.  
  890. 6.9.    {P} - Program Name and Version
  891.  
  892.         This macro allows you to impress users with your impeccable
  893.         taste for document server software by telling them that you are
  894.         running InfoMail/386 1.20.  In InfoMail 1.11 it expands to
  895.         'InfoMail 1.11' and in later versions of InfoMail, the later
  896.         program ID will be returned.  The maximum formatted length is 35
  897.         characters.
  898.  
  899.  
  900. Document Macros                                                     R-15
  901. InfoMail/386 1.20 Reference Guide
  902.  
  903. 6.10.   {S} - Document Subject Line
  904.  
  905.         This allows you to embed the subject line of the document.  It
  906.         is included only for completeness, since the user can see the
  907.         subject line plainly in their message editor.
  908.  
  909.         When embedded into response messages other than documents, {S}
  910.         will expand into the subject line of the error message being
  911.         posted, making it equally useless in this type of message. The
  912.         maximum formatted length is 71 characters.
  913.  
  914. 6.11.   {U} - User's Address
  915.  
  916.         This expands into the address of the user to whom the current
  917.         message is being posted in reply.  The maximum length of the
  918.         formatted macro is 23 characters.
  919.  
  920. 6.12.   {W} - Document List
  921.  
  922.         Usually this macro expands out into an entire list of all
  923.         document tags set up on the system.  These are formatted four to
  924.         a line, right-justified as per the author's preference (and
  925.         nobody's complained about this up to now).  Any formatted length
  926.         included in the macro will be ignored since the list is not
  927.         suitable for inclusion as a field in a formatted table.
  928.  
  929.         The usual use of this macro is as embedded in a document list
  930.         response message, or in a specially created document list set up
  931.         as a document in itself.
  932.  
  933.         It is also used in a document search results template, and
  934.         decides the position and format of the list of documents.
  935.         Obviously, in a search results message the {W} will expand into
  936.         a list of only documents which match the search criteria, rather
  937.         than a full document list as happens when it is included
  938.         elsewhere.
  939.  
  940. 6.13.   {X} - Extended Document List
  941.  
  942.         This macro behaves in a similar fashion to the {W} macro, except
  943.         that the document listing includes subject lines, and is
  944.         formatted with one document per line instead of four.  Again,
  945.         the formatted length, if included, is ignored.
  946.  
  947.         As with the {W} macro, when included in a document search
  948.         results template, only the documents matching the search
  949.         criteria will be included in the list.
  950.  
  951. 6.14.   {{} - Literal Left Brace
  952.  
  953.         This macro provides a way to represent the '{' character in
  954.         outgoing documents.  Some sample C code could be represented as
  955.         follows:
  956.  
  957.  
  958.  
  959.  
  960. Document Macros                                                     R-16
  961. InfoMail/386 1.20 Reference Guide
  962.  
  963.                 void main(void)
  964.                 {{}
  965.                     printf("Hello World\n");
  966.                 }
  967.  
  968.         which would be expanded into the following output text:
  969.  
  970.                 void main(void)
  971.                 {
  972.                     printf("Hello World\n");
  973.                 }
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020. Document Macros                                                     R-17
  1021. InfoMail/386 1.20 Reference Guide
  1022.  
  1023. 7.      SCREEN MESSAGES
  1024.  
  1025.         This section is a reference of all the messages which appear on
  1026.         the screen, and in the case of error messages, what to do about
  1027.         them.
  1028.  
  1029. 7.1.    ! Cannot create configuration file
  1030.  
  1031.         This message indicates that the configuration editor cannot
  1032.         create the initial configuration file, INFOMAIL.CFG.  This is
  1033.         usually a path error, for instance, trying to create a
  1034.         configuration file in a non-existent directory or a
  1035.         non-writeable drive.
  1036.  
  1037. 7.2.    ! Cannot create document list file
  1038.  
  1039.         This message indicates that the document list editor cannot
  1040.         create the initial document list files, INFOMAIL.DAT and
  1041.         INFOMAIL.NDX.  This is usually a path error, for instance,
  1042.         trying to create a document list file in a non-existent
  1043.         directory or a non-writeable drive.
  1044.  
  1045.         Very occasionally, this error may arise as a result of a disk or
  1046.         network fault, or some other low level problem.  If this is the
  1047.         case, check that the DAT file is not present before loading the
  1048.         configuration editor again (it may be that the DAT file could be
  1049.         created but not the NDX-- having a DAT without an NDX is no use
  1050.         to InfoMail).
  1051.  
  1052. 7.3.    ! Cannot open configuration file
  1053.  
  1054.         This error message is given by the netmail scan.  It indicates
  1055.         that it cannot open the file INFOMAIL.CFG.
  1056.  
  1057.         This may arise because the file is not there, i.e. you haven't
  1058.         loaded the configuration editor before attempting a netmail scan
  1059.         for the first time.  In this case, you'll have to load the
  1060.         configuration editor as described in the user guide, followed by
  1061.         the document list editor to prevent the error described in
  1062.         section 7.4 of this manual.
  1063.  
  1064.         It may also arise when InfoMail cannot find its files.  For
  1065.         instance, you're running InfoMail outside its own directory with
  1066.         no -PATH switch or INFOMAIL environment variable.  The
  1067.         solution-- run InfoMail from its own directory, set the INFOMAIL
  1068.         environment variable or use the -PATH switch.
  1069.  
  1070.         The error may also be displayed if the INFOMAIL.CFG is invalid;
  1071.         this could be because of corruption or because you haven't yet
  1072.         upgraded the files from a previous installation of an older
  1073.         version of InfoMail before attempting a netmail scan.
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080. Error Messages                                                      R-18
  1081. InfoMail/386 1.20 Reference Guide
  1082.  
  1083. 7.4.    ! Cannot open document list file
  1084.  
  1085.         This error is given by the netmail scan if for some reason it
  1086.         cannot open the document list file (INFOMAIL.DAT) and its index
  1087.         file (INFOMAIL.NDX).
  1088.  
  1089.         This may arise because the files don't yet exist, if you have
  1090.         run the netmail scan before the document list editor.  In this
  1091.         case, the solution is simple-- run the document list editor to
  1092.         create the files!
  1093.  
  1094.         It may arise because you haven't indicated to InfoMail where the
  1095.         files are.  To solve this, make sure that (a) you are in
  1096.         InfoMail's directory before running, (b) you have use the -PATH
  1097.         parameter to point InfoMail to its files, or (c) the INFOMAIL
  1098.         environment variable is set correctly.
  1099.  
  1100.         It could also arise if the files are invalid, such as when
  1101.         corruption occurs or when you try and run InfoMail/386 1.20 when
  1102.         using old data files from an earlier version.
  1103.  
  1104. 7.5.    ! Cannot open log file
  1105.  
  1106.         This error is issued by the netmail scan when it cannot open the
  1107.         log file for output. This will usually be because the log file
  1108.         has not been defined correctly in the configuration editor; to
  1109.         fix this, make sure that the log file is a valid path and
  1110.         filename to a writeable DOS drive and directory.
  1111.  
  1112. 7.6.    ! Cannot read netmail directory
  1113.  
  1114.         This error is issued when the netmail scan failed to find the
  1115.         netmail directory.  This would usually be because the netmail
  1116.         directory has been incorrectly defined in the configuration
  1117.         editor; ensure that the netmail directory in InfoMail matches
  1118.         that of your mailer or mail processor.  Ensure also that you are
  1119.         actually using a *.MSG netmail area rather than JAM, Hudson or
  1120.         Squish (none of which InfoMail can read).
  1121.  
  1122. 7.7.    ? Cannot read netmail message
  1123.  
  1124.         This occurs when InfoMail has trouble reading a netmail message
  1125.         which is known to exist.  It will usually be a file sharing
  1126.         violation or, in unfortunate cases, corruption of a netmail
  1127.         file.
  1128.  
  1129.         In the case of a sharing violation, a later run of the InfoMail
  1130.         scan will probably pick up the offending netmail and process it
  1131.         then, as long as whatever program had the message file open in
  1132.         the first instance has closed the file since.
  1133.  
  1134.         In the case of file corruption, you will have to remove the
  1135.         offending netmail message.
  1136.  
  1137.  
  1138.  
  1139.  
  1140. Error Messages                                                      R-19
  1141. InfoMail/386 1.20 Reference Guide
  1142.  
  1143.         In no instance is this a fatal error, if InfoMail cannot read
  1144.         one netmail message it will ignore it and progress to the next
  1145.         message.
  1146.  
  1147. 7.8.    * Conversion finished
  1148.  
  1149.         This simply indicates that the UPGRADE process has run
  1150.         successfully and the files from your installation of an earlier
  1151.         version of InfoMail have been converted to a format InfoMail/386
  1152.         1.20 can read.
  1153.  
  1154.         Note that the original files are available in case a restoration
  1155.         of the previous InfoMail version is needed; these are named
  1156.         INFOMAIL.CF$ and INFOMAIL.DA$ (there is no INFOMAIL.ND$ since
  1157.         earlier versions of InfoMail had no document file index).
  1158.  
  1159. 7.9.    * Converting configuration file
  1160.  
  1161.         This indicates that the old configuration file has been
  1162.         successfully read and is now being converted to InfoMail/386
  1163.         1.20 format.
  1164.  
  1165. 7.10.   * Converting document list file
  1166.  
  1167.         This indicates that the old document list file has been
  1168.         successfully opened and is now being converted to InfoMail/386
  1169.         1.20 format.
  1170.  
  1171. 7.11.   Error: InfoMail is already running
  1172.  
  1173.         This error occurs mostly in multitasking environments, where
  1174.         there is a possibility of InfoMail being run simultaneously in
  1175.         multiple DOS sessions.  It indicates that InfoMail might already
  1176.         be running elsewhere.
  1177.  
  1178.         The error could also be caused if InfoMail has crashed on a
  1179.         previous run, leaving its semaphore file behind.  The semaphore
  1180.         file is named INFOMAIL.SEM and it is located in InfoMail's
  1181.         directory as defined by the -PATH switch or the INFOMAIL
  1182.         environment variable.  This may be removed if you are sure that
  1183.         InfoMail is not running elsewhere.
  1184.  
  1185.         Creating the semaphore file manually will also result in this
  1186.         message being displayed when you try to run InfoMail; try it out
  1187.         if such things amuse you.
  1188.  
  1189. 7.12.   Error: cannot create semaphore
  1190.  
  1191.         This indicates that there was an error creating the semaphore
  1192.         file which InfoMail tries to drop as soon as it is run.
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200. Error Messages                                                      R-20
  1201. InfoMail/386 1.20 Reference Guide
  1202.  
  1203.         The most probable cause is that the path to InfoMail's files has
  1204.         not been correctly specified, and is pointing to a non-existent
  1205.         directory or a non-writeable device.  In this case, correct the
  1206.         setting of the INFOMAIL environment variable or the parameter of
  1207.         the -PATH command you use to invoke InfoMail.
  1208.  
  1209. 7.13.   Error: cannot remove semaphore
  1210.  
  1211.         This error occurs when InfoMail cannot delete its own semaphore.
  1212.         You can cause this error yourself in a multitasking environment
  1213.         by deleting the semaphore file in one window while InfoMail is
  1214.         running in another.  When InfoMail exits it then issues this
  1215.         error.
  1216.  
  1217.         In another instance, the error might be caused by a sharing
  1218.         violation or other file-system related error.  In this case,
  1219.         ensure that the semaphore file has been deleted manually before
  1220.         attempting to run InfoMail again.
  1221.  
  1222. 7.14.   Error: type INFOMAIL alone for help
  1223.  
  1224.         This is a simple command line error.  It results when you
  1225.         misspell a command word or switch, use the -PATH switch with
  1226.         nothing after it, or type complete nonsense.  To solve it,
  1227.         simply check your command line and correct the error or, as the
  1228.         prompt says, type INFOMAIL on its own for a concise help screen.
  1229.  
  1230. 7.15.   * Finished!
  1231.  
  1232.         A simple message indicating that InfoMail has finished the
  1233.         netmail scan.  This should be the last thing you see after
  1234.         the netmail scan has been run (apart from a 'cannot remove
  1235.         semaphore' error perhaps).
  1236.  
  1237. 7.16.   ! Invalid configuration file
  1238.  
  1239.         This error is output by the configuration editor if a file is
  1240.         present but cannot be loaded.  This is usually caused by running
  1241.         INFOMAIL CONFIG with data files from an earlier version of
  1242.         InfoMail-- in this case run INFOMAIL UPGRADE before attempting
  1243.         to load the configuration editor.
  1244.  
  1245.         At other times it occurs because of file corruption, or when you
  1246.         have mistakenly copied a nonsense file over INFOMAIL.CFG.  In
  1247.         the event of minor file corruption (a byte here or there), you
  1248.         can make partial corrections by ensuring the first 8 bytes of
  1249.         the configuration file read "INF120S"<NUL> where <NUL> is an
  1250.         ASCII zero.  You would use a hex editor for this, not a text
  1251.         editor.
  1252.  
  1253.         In the event of irrepairable file corruption or copying other
  1254.         files over INFOMAIL.CFG the only solution is to use your latest
  1255.         backup of the INFOMAIL.CFG file, copying it over the damaged
  1256.         version of the file.  If you haven't taken a backup, what a
  1257.         shame.
  1258.  
  1259.  
  1260. Error Messages                                                      R-21
  1261. InfoMail/386 1.20 Reference Guide
  1262.  
  1263. 7.17.   ! Invalid document list file
  1264.  
  1265.         This is issued by the document list editor when an existing
  1266.         document list file or index file is corrupted or invalid.  It
  1267.         most often occurs when running the list editor on a data file
  1268.         from an earlier version of InfoMail.  In this case you must
  1269.         run the INFOMAIL UPGRADE procedure before attempting to edit
  1270.         documents.
  1271.  
  1272.         Other causes, as for the error described in section 7.16, are
  1273.         file corruption or overwriting of INFOMAIL.DAT and/or
  1274.         INFOMAIL.NDX with nonsense files.  In the event of minor file
  1275.         corruption, it is not recommended that you attempt to restore
  1276.         these files with a hex editor, as errors here may show odd
  1277.         behaviour by the document list editor.  Restore the files from
  1278.         your latest backup instead.
  1279.  
  1280. 7.18.   ! Missing or invalid configuration file
  1281.  
  1282.         This is a general error issued by the upgrade utility if it
  1283.         cannot find a valid configuration file from InfoMail 1.00 or
  1284.         InfoMail 1.10/1.11.
  1285.  
  1286.         To correct this, ensure that the files are in the InfoMail
  1287.         directory, i.e. where you would expect the new files to appear,
  1288.         before running the upgrade process.  Remember to point InfoMail
  1289.         to these files using -PATH or the INFOMAIL environment variable,
  1290.         or alteratively, run INFOMAIL UPGRADE from InfoMail's own
  1291.         directory.
  1292.  
  1293. 7.19.   ! Missing or invalid document list file
  1294.  
  1295.         This error occurs when the InfoMail upgrade utility cannot find
  1296.         a valid document list file from version 1.00 or 1.10/1.11 to
  1297.         upgrade.  See section 7.18 for details of how to deal with this
  1298.         error.
  1299.  
  1300. 7.20.   ! No netmails to read
  1301.  
  1302.         This appears when there are no *.MSGs at all in the designated
  1303.         netmail directory.  If there are messages in the netmail
  1304.         directory not addressed to InfoMail, this message should not
  1305.         appear.
  1306.  
  1307.         If you see this message when first installing and testing
  1308.         InfoMail, check that the 'Netmail' field is correctly set up in
  1309.         the configuration editor.
  1310.  
  1311. 7.21.   * Processing request from...
  1312.  
  1313.         This message simply lets you know that InfoMail has found a
  1314.         document request, if you happen to be watching a netmail scan go
  1315.         by.  It can be a useful diagnostic shortcut, allowing you to see
  1316.         that a test request was received and processed without having to
  1317.         load your message editor again.
  1318.  
  1319.  
  1320. Error Messages                                                      R-22
  1321. InfoMail/386 1.20 Reference Guide
  1322.  
  1323. 7.22.   * Processing search from...
  1324.  
  1325.         This message appears whenever InfoMail processes a document
  1326.         search message found in the netmail directory.
  1327.  
  1328. 7.23.   * Processing update from...
  1329.  
  1330.         This message appears whenever InfoMail processes a document
  1331.         update message found in the netmail directory.  Details of
  1332.         acceptance of rejection of the update are not displayed but may
  1333.         be found in the log file (see section 8).
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380. Error Messages                                                      R-23
  1381. InfoMail/386 1.20 Reference Guide
  1382.  
  1383. 8.      LOG FILE ENTRIES
  1384.  
  1385.         This section deals with the various entries you may find upon
  1386.         examination of the log file.  Only the netmail scan process
  1387.         writes to the log file, it being assumed that you are usually
  1388.         present at the keyboard to witness the activities of the other
  1389.         program components such as the configuration editor.
  1390.  
  1391.         The log file is similar in layout to that produced by some other
  1392.         software, such as FrontDoor and GEcho.  It is suitable for
  1393.         inclusion in compound log files if you like to keep the logs of
  1394.         all your software that way.  Each netmail scan initialises by
  1395.         writing the following to the log file:
  1396.  
  1397.                 <blank line>
  1398.                 ----------  InfoMail/386 1.20, DD-Mmm-YY
  1399.  
  1400.         where DD-Mmm-YY is the current date.  Each individual log entry
  1401.         has the following format:
  1402.  
  1403.                 X HH:MM:YY  <actual log entry text>
  1404.  
  1405.         where X is one of the following:
  1406.  
  1407.                 ! for fatal errors causing an immediate exit
  1408.                 ? for errors from which InfoMail can recover
  1409.                 * for major log messages (message found, etc).
  1410.                 + for minor messages such as file/message writes
  1411.                 - for trivial log messages
  1412.  
  1413.         and HH:MM:YY is the time of the log stamp.  The actual log entry
  1414.         text is freeform, and varies according to each event logged.
  1415.  
  1416.         Where a log file message has the same meaning and solution as an
  1417.         identical screen message, you are referred to the screen
  1418.         message's entry in section 7 (to avoid repetition of the same
  1419.         text in this manual).
  1420.  
  1421. 8.1.    ? Cannot open document file...
  1422.  
  1423.         This warning is written to the log file when InfoMail cannot
  1424.         open the document text file of a specific document.  The log
  1425.         file includes details of the document to allow you to check your
  1426.         setup.
  1427.  
  1428.         Usually this warning occurs because a document's filename is
  1429.         incorrectly specified in the document list editor; to correct
  1430.         this problem you should check the document entry in the document
  1431.         list editor.
  1432.  
  1433.         Occasionally this warning may occur due to sharing violation
  1434.         errors or file system corruption.  It is not a fatal error;
  1435.         InfoMail should inform the user of the problem and continue to
  1436.         process other messages.
  1437.  
  1438.  
  1439.  
  1440. Log File Entries                                                    R-24
  1441. InfoMail/386 1.20 Reference Guide
  1442.  
  1443. 8.2.    ! Cannot read netmail directory
  1444.  
  1445.         This indicates that the netmail directory could not be found,
  1446.         refer to section 7.6 for tips on how to deal with this fatal
  1447.         error.
  1448.  
  1449. 8.3.    ? Cannot read netmail message
  1450.  
  1451.         This indicates that InfoMail had trouble reading an existing
  1452.         netmail message.  Refer to section 7.7 for tips on how to deal
  1453.         with this.  This is a warning rather than a fatal error, so
  1454.         InfoMail continues to process later messages.
  1455.  
  1456. 8.4.    ? Cannot write netmail message
  1457.  
  1458.         This error appears when InfoMail could not write a netmail
  1459.         message.  This will usually happen due to sharing violation or
  1460.         file system errors.  It will follow a 'Processing
  1461.         request/update/search from...' log entry; check the name and
  1462.         address in that message and (if you don't kill them) inbound
  1463.         messages to get details of what the user wanted if you wish to
  1464.         get in touch with the user afterwards.
  1465.  
  1466.         In the case of sharing violations, the best way to avoid this
  1467.         error is to ensure that no other application is reading/writing
  1468.         to the netmail directory when InfoMail is processing messages.
  1469.         Many programs allow semaphores to be used for this purpose.
  1470.  
  1471. 8.5.    - Document list closed
  1472.  
  1473.         This signifies (surprise) that the document list file has been
  1474.         closed, and is used along with the log entry described in
  1475.         section 8.6 to indicate the successful loading/exiting of
  1476.         InfoMail.
  1477.  
  1478. 8.6.    - Document list opened
  1479.  
  1480.         This shows that the document list has been opened successfully.
  1481.         If InfoMail has managed to get this far, it is a fair indication
  1482.         that initialisation has been fully successful, i.e. InfoMail's
  1483.         directory, all the configuration files, the log file and the
  1484.         netmail directory have all been initialised.  When there are no
  1485.         inbound messages addressed to InfoMail, a normal log entry
  1486.         should read something like this:
  1487.  
  1488.                 ----------  InfoMail/386 1.20, 27-Oct-96
  1489.                 - 10:01:58  Document list opened
  1490.                 - 10:01:59  Document list closed
  1491.  
  1492. 8.7.    ! Missing or invalid document list
  1493.  
  1494.         This fatal error indicates that the document list could not be
  1495.         loaded, and is identical to the 'Cannot open document list'
  1496.         screen error message described in section 7.4.
  1497.  
  1498.  
  1499.  
  1500. Log File Entries                                                    R-25
  1501. InfoMail/386 1.20 Reference Guide
  1502.  
  1503. 8.8.    ! No netmails to read
  1504.  
  1505.         This 'error' is written when the netmail directory is completely
  1506.         empty, and co-incides in occurrence and exact meaning with its
  1507.         associated screen message, described in section 7.20.
  1508.  
  1509. 8.9.    * Processing request from...
  1510.  
  1511.         This is written when a document request is recieved and
  1512.         processed.  The log line includes the name and address of the
  1513.         remote user.
  1514.  
  1515. 8.10.   * Processing search from...
  1516.  
  1517.         This message is written when a document search message is
  1518.         encountered.  It gives the name and address of the remote user
  1519.         who posted the search.
  1520.  
  1521. 8.11.   * Processing update from...
  1522.  
  1523.         This entry occurs when InfoMail receives a document update from
  1524.         a remote user, whose name and address are included in the entry.
  1525.  
  1526. 8.12.   + Sending document list to...
  1527.  
  1528.         This entry indicates that the document list is being sent to the
  1529.         remote user; this user should be the same user identified in the
  1530.         'Processing ... from ...' entry immediately above in the log
  1531.         file.
  1532.  
  1533.         When you see this entry, you know that the user has requested
  1534.         (or attempted to update) a document which does not exist.  If
  1535.         you want to see which document, you will have to look at the
  1536.         inbound request, assuming that you keep those requests.
  1537.  
  1538. 8.13.   + Sending document...
  1539.  
  1540.         This entry shows that a document has been sent to the user in
  1541.         response to a document request.  The entry includes details of
  1542.         the user and the document, so you can keep track of which
  1543.         documents are being requested and who is requesting them.
  1544.  
  1545. 8.14.   + Sending file error to...
  1546.  
  1547.         This message, occurring after a '? Cannot open document file'
  1548.         error, shows that the user has been informed that the document
  1549.         file cannot be found.
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560. Log File Entries                                                    R-26
  1561. InfoMail/386 1.20 Reference Guide
  1562.  
  1563. 8.15.   + Sending inactive document error to...
  1564.  
  1565.         This log entry indicates that the user has been informed that
  1566.         the document they requested is inactive.  The document details
  1567.         are not included here, you will have to look at inbound messages
  1568.         to see the document requested.  Alternatively, check the
  1569.         document list editor for inactive documents if you don't think
  1570.         you should have any.
  1571.  
  1572. 8.16.   + Sending reject message to...
  1573.  
  1574.         When a document request or update is rejected, this log entry
  1575.         shows that the user has been sent the 'update/request rejected'
  1576.         standard message.
  1577.  
  1578. 8.17.   + Sending search results to...
  1579.  
  1580.         This log entry shows that the results of a user's search have
  1581.         been posted to them, and follows a 'Processing search from...'
  1582.         log entry.
  1583.  
  1584. 8.18.   + Sending update confirmation to...
  1585.  
  1586.         When a user successfully updates a document, they receive a
  1587.         confirmation message.  This log entry shows that the
  1588.         confirmation message has been sent to them.
  1589.  
  1590. 8.19.   + Updated document...
  1591.  
  1592.         Coinciding with the log entry described in section 8.18, this
  1593.         entry shows that the updated document text has been written to
  1594.         the document file.  Document details are provided here.
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. Log File Entries                                                    R-27
  1621. InfoMail/386 1.20 Reference Guide
  1622.  
  1623. 9.      MISCELLANEOUS INFORMATION
  1624.  
  1625.         This section contains anything which is important enough to
  1626.         include for reference, but which isn't relevant to any of the
  1627.         other sections of this reference guide.
  1628.  
  1629. 9.1.    InfoMail Directory Contents
  1630.  
  1631.         This subsection describes all the files which should be present
  1632.         in the InfoMail directory, including all those from the original
  1633.         archive and others created by InfoMail.
  1634.  
  1635. 9.1.1   INFOMAIL.EXE - The InfoMail Executable
  1636.  
  1637.         This is the main executable for InfoMail/386 1.20, including all
  1638.         of the program components.
  1639.  
  1640. 9.1.2.  CWSDPMI.EXE - The DPMI Server
  1641.  
  1642.         CWSDPMI is the DPMI server supplied with InfoMail/386 1.20.  It
  1643.         was written by Charles Sandmann especially for DJGPP and
  1644.         programs written using that compiler.
  1645.  
  1646.         You can get the latest version of CWSDPMI on the Internet at
  1647.         www.delorie.com.  InfoMail's author will attempt to keep up to
  1648.         date with the latest release of this DPMI server and keep a copy
  1649.         at Centurion for file request.  At the time of writing,
  1650.         CSDPMI3B.ARJ is available for file request at 2:2502/666 (note
  1651.         no W in the archive name).
  1652.  
  1653.         If your operating system does not provide its own DPMI server
  1654.         for DOS sessions then you can use CWSDPMI instead.  Simply move
  1655.         or copy CWSDPMI.EXE to somewhere on your DOS path and InfoMail
  1656.         will automatically find and load it each time you run
  1657.         INFOMAIL.EXE.
  1658.  
  1659. 9.1.3.  *.DOC - The Main Documentation
  1660.  
  1661.         The files CONTENTS.DOC, USER.DOC, REF.DOC, DEV.DOC and INDEX.DOC
  1662.         all form the main documentation.
  1663.  
  1664.         CONTENTS.DOC is the table of contents for all file .DOC files,
  1665.         and contains full information on all sections of them.
  1666.  
  1667.         USER.DOC is the user guide, intended as a starting place for
  1668.         first-time InfoMail users and those who want a 'how-to' answer
  1669.         to some common problems and features.
  1670.  
  1671.         You are reading REF.DOC.
  1672.  
  1673.         DEV.DOC is the developer's guide, intended for those who want to
  1674.         write programs to interface with InfoMail.
  1675.  
  1676.         INDEX.DOC is the full alphabetic index for all the other major
  1677.         document files.
  1678.  
  1679.  
  1680. Miscellaneous Information                                           R-28
  1681. InfoMail/386 1.20 Reference Guide
  1682.  
  1683. 9.1.4.  FILE_ID.DIZ/*.TXT - Minor Documentation Files
  1684.  
  1685.         These files include such things as the long file description,
  1686.         the quick start guide and the 'what's new' document.  Filenames
  1687.         may vary; see the actual archive for a full list.
  1688.  
  1689. 9.1.5.  *.SAM - The Sample Files
  1690.  
  1691.         These files are samples created for your conveniece.  Some of
  1692.         them are intended for use with the tutorial in the user guide,
  1693.         and others are for general use.
  1694.  
  1695.         DOCUMENT.SAM is the sample document file mentioned in the
  1696.         tutorial, and has no other use apart from a quick document for
  1697.         any testing you want to do.
  1698.  
  1699.         HEADER.SAM and FOOTER.SAM are the sample header and footer
  1700.         files.  If these are to your taste, you can use these directly
  1701.         by specifying their names in the relevant fields of the
  1702.         configuration editor.
  1703.  
  1704.         DOCLIST.SAM is a sample document list file.  It is identical to
  1705.         the internal document list sent as a default, so including its
  1706.         name directly in your configuration file won't appear to do
  1707.         much.  It is included as a starting point for you to create your
  1708.         own customised document list.
  1709.  
  1710.         FILEERR.SAM is the sample 'file not found' error message
  1711.         template.  It is identical to the internal message of the same
  1712.         purpose, but can be taken as a starting point for a customised
  1713.         version of this message.
  1714.  
  1715.         INACTIVE.SAM is the sample 'document inactive' message,
  1716.         identical in appearance to the internal version but usable as a
  1717.         starting point for customisation.
  1718.  
  1719.         ACCEPT.SAM and REJECT.SAM are the 'update accepted' and 'update
  1720.         or request rejected' templates.  As with FILEERR.SAM and
  1721.         INACTIVE.SAM, these are identical to the default messages of
  1722.         that purpose but can be used to create customised messages more
  1723.         to your taste.
  1724.  
  1725.         RESULTS.SAM is the sample document results template.  Again,
  1726.         this is identical to the internal version.  It is recommended
  1727.         that document search results list the subject line of documents
  1728.         if the names aren't that descriptive.  If you wish to follow
  1729.         this recommendation you can simply change the {W} in this text
  1730.         file to an {X} (see section 6 about macros), include the full
  1731.         path and filename of RESULTS.SAM in your configuration (in the
  1732.         'Results' field), try out a document search and inspect the
  1733.         results.
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740. Miscellaneous Information                                           R-29
  1741. InfoMail/386 1.20 Reference Guide
  1742.  
  1743. 9.1.6.  INFOMAIL.CFG - The Configuration File
  1744.  
  1745.         This is the file created by INFOMAIL CONFIG or INFOMAIL UPGRADE
  1746.         when you first install the package, and it is used (and
  1747.         required) by every other part of the program.
  1748.  
  1749. 9.1.7.  INFOMAIL.DAT/INFOMAIL.NDX - The Document List
  1750.  
  1751.         INFOMAIL.DAT is the document list file, containing all the
  1752.         details of all the documents.  It is created by the document
  1753.         list editor or the upgrade utility, and is used by the netmail
  1754.         scan.
  1755.  
  1756.         INFOMAIL.NDX is the index file, used by the document list editor
  1757.         to ensure that the documents are in alphabetical order, and by
  1758.         the netmail scan to speed up location of individual documents
  1759.         and to keep document lists and searches in order.  It is created
  1760.         by the upgrade utility or document list editor, and is mandatory
  1761.         for the running of the program.
  1762.  
  1763. 9.1.8.  INFOMAIL.CF$/INFOMAIL.DA$ - Upgrade Backups
  1764.  
  1765.         These files are created by the UPGRADE process, and are simply
  1766.         copies of your previous configuration files.  These are useful
  1767.         if you need to revert to an earlier version of InfoMail for some
  1768.         reason, or if you make a mess of your configuration and need to
  1769.         re-import the original files.
  1770.  
  1771.         When you are satisfied that InfoMail is set up correctly you may
  1772.         delete these files.  It is recommended that you let InfoMail run
  1773.         for a while beforehand, in case errors appear which are not
  1774.         initially apparent.
  1775.  
  1776. 9.2.    The INFOMAIL Environment Variable
  1777.  
  1778.         This is a convenient way of indicating to InfoMail where its
  1779.         data files are, it is the standard practice adopted by a large
  1780.         number of Fidonet applications and utilities.  As an example,
  1781.  
  1782.                 SET INFOMAIL=C:\INFOMAIL\
  1783.  
  1784.         tells InfoMail that its data files are in C:\INFOMAIL.  The
  1785.         trailing backslash is not necessary; InfoMail adds it internally
  1786.         if it is not present.
  1787.  
  1788.         The environment variable is overridden by the -PATH switch on
  1789.         the InfoMail command line; it is usual to use one or the other,
  1790.         but not both.
  1791.  
  1792. 9.3.    Defaults
  1793.  
  1794.         These are the default values of the fields in the configuration
  1795.         editor.  They are used when setting up InfoMail for the first
  1796.         time.  When upgrading, all the fields present in the earlier
  1797.         version of InfoMail retain their existing values.
  1798.  
  1799.  
  1800. Miscellaneous Information                                           R-30
  1801. InfoMail/386 1.20 Reference Guide
  1802.  
  1803.         Netmail         .\
  1804.         Log file        <path>\INFOMAIL.LOG
  1805.         Active          Yes
  1806.         Max Msg Size    16384
  1807.         Kill Outbound   Yes
  1808.         Requests        InfoMail
  1809.         Updates         InfoMail Update
  1810.         Searches        InfoMail Search
  1811.         Kill Requests   Yes
  1812.         Kill Updates    Yes
  1813.         Kill Searches   Yes
  1814.         Header          <empty>
  1815.         Footer          <empty>
  1816.         Doc list        <empty>
  1817.         File err        <empty>
  1818.         Inactive        <empty>
  1819.         Accept          <empty>
  1820.         Reject          <empty>
  1821.         Results         <empty>
  1822.         AKA List        <empty>
  1823.  
  1824.         <path> is the path as specified in the INFOMAIL environment
  1825.         variable or the -PATH command line switch; if neither are used
  1826.         it defaults to '.\' and really ought to be changed. When adding
  1827.         a new document, the default values are as follows:
  1828.  
  1829.         Document        <always entered by user>
  1830.         Active          Yes
  1831.         Listed          Yes
  1832.         Macros          Yes <see below>
  1833.         Routing         Standard
  1834.         Subject         <empty>
  1835.         Status          <empty>
  1836.         Request         <empty>
  1837.         Update          <empty>
  1838.         File            <empty>
  1839.         2nd File        <empty>
  1840.         Accesses        0
  1841.  
  1842.         When upgrading from a previous version of InfoMail, the fields
  1843.         present in that version retain their existing values.  When
  1844.         upgrading from InfoMail 1.00, the Macros field in all documents
  1845.         is initially set to 'No' in order to make the new installation
  1846.         behave like the old one (there may be documents containing '{'
  1847.         and '}' which would cause confusion with Macros set to 'Yes).
  1848.  
  1849. 9.4.    Limits
  1850.  
  1851.         These are the limits placed on various fields and other parts of
  1852.         InfoMail (length of text fields is readily apparent from the
  1853.         screen display, so is not listed here)
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860. Miscellaneous Information                                           R-31
  1861. InfoMail/386 1.20 Reference Guide
  1862.  
  1863.         Max Msg Size    65535
  1864.         AKA List        As many addresses as memory will hold
  1865.         Accesses        65535 (then resets to 0)
  1866.         Max Doc Size    64k after macro expansion
  1867.         Documents       2 billion
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920. Miscellaneous Information                                           R-32
  1921.  
  1922.